package cn.rokhdelar.ams.management.domain.po;

import cn.rokhdelar.ams.base.BasePo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 权限表
 * @author rokhdelar
 * @since 2024-10-02
 * @version 1.0.0
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "权限表")
public class SysAuthority extends BasePo {
    @Schema(description = "权限名称")
    private String name;

    @Schema(description = "权限描述")
    private String description;

    @Schema(description = "权限状态，默认为true（启用）")
    private Boolean status = true;

    @Schema(description = "权限键")
    private String authorityKey;

    @Schema(description = "权限目录ID")
    private String category;
}